package com.benny_driving_dri.util;

import java.util.List;

import android.app.ActivityManager;

public class ServiceIsStartUtil {

	public static boolean serIsStart(
			List<ActivityManager.RunningServiceInfo> mServiceList,
			String className) {
		for (int i = 0; i < mServiceList.size(); i++) {
			if (className.equals(mServiceList.get(i).service.getClassName())) {
				return true;
			}
		}
		return false;
	}
}
